Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Allow as as an infix type in non context bound types #21849

Merged
merged 2 commits into from
Nov 4, 2024

Conversation

KacperFKorban
Copy link
Member

potential fix for #21769

@KacperFKorban KacperFKorban marked this pull request as ready for review October 29, 2024 08:34
@KacperFKorban KacperFKorban linked an issue Oct 29, 2024 that may be closed by this pull request
Copy link
Contributor

@odersky odersky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should just use a Boolean for inContextBound. Our convention is that we pass all Boolean arguments as named parameters. That takes care of the readability issue.

Copy link
Contributor

@odersky odersky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise LGTM

@odersky odersky merged commit aa60a39 into scala:main Nov 4, 2024
29 checks passed
@odersky odersky deleted the fix-i21769 branch November 4, 2024 14:31
@WojciechMazur WojciechMazur added the backport:nominated If we agree to backport this PR, replace this tag with "backport:accepted", otherwise delete it. label Nov 6, 2024
WojciechMazur added a commit that referenced this pull request Nov 8, 2024
…" to 3.6.2 (#21901)

Backports #21849 to the 3.6.2 branch.

PR submitted by the release tooling.
[skip ci]
@WojciechMazur WojciechMazur added backport:done This PR was successfully backported. and removed backport:nominated If we agree to backport this PR, replace this tag with "backport:accepted", otherwise delete it. labels Nov 8, 2024
@WojciechMazur WojciechMazur added this to the 3.6.2 milestone Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:done This PR was successfully backported.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression in parser for usage of user defined inflix trait as
3 participants